import request from '@/api/index'

/**
 * 分页获取今日场次记录信息
 * @param {*} data 
 * @returns 
 */
export function getClasseseRecordPageListApi(data) {
    return request({
        url: '/CustomerClasseseRecord/queryCustomerClasseseRecordPageList',
        method: 'POST',
        data
    })
}

/**
 * 场次记录详细信息
 * @param {*} data 
 * @returns 
 */
export function getCustomerClasseseRecordDetailApi(data) {
    return request({
        url: '/CustomerClasseseRecord/queryCustomerClasseseRecordDetail',
        method: 'POST',
        data
    })
}

/**
 * 客资场次预约
 * @param {*} data 
 * @returns 
 */
export function VenueCustomerRecordApi(data) {
    return request({
        url: '/CustomerClasseseRecord/venueCustomerRecord',
        method: 'POST',
        data
    })
}
/**
 * 取消预约
 * @param {*} data 
 * @returns 
 */
export function CancelCustomerRecordApi(data) {
    return request({
        url: '/CustomerClasseseRecord/cancelCustomerRecord',
        method: 'POST',
        data
    })
}
/**
 * 获取当前拥有场次下拉框
 * @returns 
 */
export function QueryCurrentClasseseSelectApi() {
    return request({
        url: '/CustomerClasseseRecord/queryCurrentClasseseSelect',
        method: 'GET',
    })
}
/**
 * 提交交换预约申请
 * @returns
 */
export function SubmitVenueExchangeApplyApi(data) {
    return request({
        url: '/CustomerClasseseRecord/submitVenueExchangeApply',
        method: 'POST',
        data
    })
}